<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->


<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="zh-cn" xml:lang="zh-cn">
<head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="DC.Type" content="topic">
<meta name="DC.Title" content="如何检查恢复的目标主机是否为HACS集群中的主机">
<meta name="DC.Format" content="XHTML">
<meta name="DC.Identifier" content="oracle_gud_0106">
<meta name="DC.Language" content="zh-cn">
<link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
<title>如何检查恢复的目标主机是否为HACS集群中的主机</title>
</head>
<body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px"><a name="oracle_gud_0106"></a><a name="oracle_gud_0106"></a>

<h1 class="topictitle1">如何检查恢复的目标主机是否为HACS集群中的主机</h1>
<div><p>当恢复数据至HACS集群中的主机时，要求先冻结HACS集群。参考以下方法确认目标主机是否为HACS集群中的主机。</p>
<ol><li><span>登录Oracle数据库主机。</span><p><p>请使用PuTTY登录Oracle数据库主机，并执行<strong>su - root</strong>命令，切换到<strong>root</strong>账户。</p>
</p></li><li><span>执行以下命令确认HACS是否在主机上运行。</span><p><p><strong>/etc/init.d/corosync status</strong></p>
<p>当回显类似如下时，表示HACS在当前主机运行。</p>
<pre class="screen">linux-sv0z:<font style="font-size:8pt" Face="Courier New" >~</font># /etc/init.d/corosync status
corosync (pid 9854) is running...</pre>
</p></li></ol>
</div>

<div class="hrcopyright"><hr size="2"></div><div class="hwcopyright">版权所有 &copy; 华为技术有限公司</div></body>
</html>